

package com.cn.项目.飞机预约管理系统.Logining;

import java.awt.*;
import javax.swing.*;


public class Successprompt extends JFrame {
    public Successprompt() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        label1 = new JLabel();
        label2 = new JLabel();
        label3 = new JLabel();

        //======== this ========
        setVisible(true);
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //---- label1 ----
        label1.setForeground(Color.green);
        label1.setFont(label1.getFont().deriveFont(label1.getFont().getSize() + 10f));
        label1.setText("成功提示");
        contentPane.add(label1);
        label1.setBounds(130, 15, 170, 35);

        //---- label2 ----
        label2.setText("恭喜您，注册成功！");
        label2.setFont(label2.getFont().deriveFont(label2.getFont().getSize() + 6f));
        label2.setForeground(new Color(102, 255, 102));
        contentPane.add(label2);
        label2.setBounds(105, 80, 280, 50);

        //---- label3 ----
        label3.setText("请您记住您的账号密码！");
        label3.setFont(label3.getFont().deriveFont(label3.getFont().getSize() + 6f));
        label3.setForeground(Color.green);
        contentPane.add(label3);
        label3.setBounds(90, 155, 260, 30);

        contentPane.setPreferredSize(new Dimension(400, 320));
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    private JLabel label1;
    private JLabel label2;
    private JLabel label3;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
